4. Space complexity